//
//  CUserSettingMgr.h
//  wanzhaoIM
//
//  Created by liuyuantao on 15/5/25.
//  Copyright (c) 2015年 liuyuantao. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CUserSettingModel;
typedef enum
{
    USERSETTING_VOICE,
    USERSETTING_SHAKE,
    USERSETTING_DISTURB,
    USERSETTING_STARTDATE,
    USERSETTING_ENDDATE,
    USERSETTING_BOTHONLINE,
    USERSETTING_ISONLYWIFIRCV,
    USERSETTING_AUTOGRAPH
}USERSETTING_TYPE;





@interface CUserSettingMgr : NSObject

- (BOOL)delUserSetting;
//设置属性值

- (BOOL)updateUserSetting:(CUserSettingModel *)setting;
-(BOOL)setUserSettingValue:(NSString *)value  type:(USERSETTING_TYPE)type;
//获取属性值
-(NSString *)getUserSettingValue:(USERSETTING_TYPE)type;

- (CUserSettingModel *)getUserSetting;
-(BOOL)insetUserWithSetting:(CUserSettingModel *)setting;

@end
